<!DOCTYPE html>
<html>

	<head>
		<title>点赞列表</title>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		    <link rel="stylesheet" href="/js/bootstrap-4.1.1-dist/css/bootstrap.min.css">
			<script src="/js/jquery/jquery.min.js"></script>
			<script src="/js/bootstrap-4.1.1-dist/js/bootstrap.min.js"></script>
			<link rel="stylesheet" href="/css/font/css/font-awesome.min.css"/>
			<link rel="stylesheet" href="/css/reset.css"/>
			<link rel="stylesheet" href="/css/message.css" />
			<script src="/js/plugins/jrender/jrender.min.js"></script>
			<link rel="stylesheet" href="/js/plugins/dialog2/dialog.css"/>
			<script src="/js/plugins/dialog2/dialog.min.js"></script>
	</head>

<script>
	$(function () {
	    //查询点赞数量
		$.get("/users/praiseNum",function (data) {
            console.log(data);
            //游记
            if (data.travel) {
                $("span.travel").html(data.travel);
            }else {
                $("span.travel").css("display","none");
			}
            //攻略点评
            if (data.strategyComment) {
                $("span.strategyComment").html(data.strategyComment);
            }else {
                $("span.strategyComment").css("display","none");
            }
            //朋友圈
            if (data.friendship) {
                $("span.friendship").html(data.friendship);
            }else {
                $("span.friendship").css("display","none");
            }
        });
    })

</script>
	<body>
		<div class="search-head">
			<div class="row nav-search">
				<div class="col">
					<a href="/mine/message.html">
						<span><i class="fa fa-chevron-left" ></i></span>
					</a>
				</div>
				<div class="col">
					<span>赞我的</span>
				</div>
				<div class="col"></div>
			</div>
		</div>

		<ul class="list-group">
			<a href="/mine/praiseTravelList.html">
				<li class="list-group-item d-flex justify-content-between align-items-center">
					<div class="item">
						<span><i class="fa fa-thumbs-o-up" ></i></span>
						<span>游记</span>
						<span class="badge badge-danger badge-pill travel"></span>
					</div>
					<i class="fa fa-chevron-right"></i>
				</li>
			</a>
			<a href="/mine/praiseStrategyCommentList.html">
				<li class="list-group-item d-flex justify-content-between align-items-center">
					<div class="item">
						<span><i class="fa fa-thumbs-o-up" ></i></span>
						<span>攻略点评</span>
						<span class="badge badge-danger badge-pill strategyComment"></span>
					</div>
					<i class="fa fa-chevron-right"></i>
				</li>
			</a>
			<a href="/mine/praiseFriendshipList.html">
				<li class="list-group-item d-flex justify-content-between align-items-center">
					<div class="item">
						<span><i class="fa fa-thumbs-o-up" ></i></span>
						<span>朋友圈</span>
						<span class="badge badge-danger badge-pill friendship"></span>
					</div>
					<i class="fa fa-chevron-right"></i>
				</li>
			</a>
		</ul>

	</body>

</html>